package com.boglond.entity;


import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class ColumnInfoDO {

    //列名
    private String columnName;
    //驼峰列名
    private String humpColumnName;

    //驼峰列名 的类型，对应Java里的类型
    private String humpColumnNameType;
    //列类型数字
    private int dataType;
    //列类型名称
    private String dataTypeName;
    //列大小
    private int columnSize;
    //小数位数
    private int decimalDigits;
    //基数（通常是10或2）
    private int numPrecRadix;
    //是否允许为null
    private int nullAble;
    //列描述
    private String remarks;
    //默认值
    private String columnDef;
    //sql数据类型
    private int sqlDataType;
    //SQL日期时间分?
    private int sqlDatetimeSub;
    //char类型的列中的最大字节数
    private int charOctetLength;
    //表中列的索引（从1开始）
    private int ordinalPosition;

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getHumpColumnName() {
        return humpColumnName;
    }

    public void setHumpColumnName(String humpColumnName) {
        this.humpColumnName = humpColumnName;
    }

    public String getHumpColumnNameType() {
        return humpColumnNameType;
    }

    public void setHumpColumnNameType(String humpColumnNameType) {
        this.humpColumnNameType = humpColumnNameType;
    }

    public int getDataType() {
        return dataType;
    }

    public void setDataType(int dataType) {
        this.dataType = dataType;
    }

    public String getDataTypeName() {
        return dataTypeName;
    }

    public void setDataTypeName(String dataTypeName) {
        this.dataTypeName = dataTypeName;
    }

    public int getColumnSize() {
        return columnSize;
    }

    public void setColumnSize(int columnSize) {
        this.columnSize = columnSize;
    }

    public int getDecimalDigits() {
        return decimalDigits;
    }

    public void setDecimalDigits(int decimalDigits) {
        this.decimalDigits = decimalDigits;
    }

    public int getNumPrecRadix() {
        return numPrecRadix;
    }

    public void setNumPrecRadix(int numPrecRadix) {
        this.numPrecRadix = numPrecRadix;
    }

    public int getNullAble() {
        return nullAble;
    }

    public void setNullAble(int nullAble) {
        this.nullAble = nullAble;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getColumnDef() {
        return columnDef;
    }

    public void setColumnDef(String columnDef) {
        this.columnDef = columnDef;
    }

    public int getSqlDataType() {
        return sqlDataType;
    }

    public void setSqlDataType(int sqlDataType) {
        this.sqlDataType = sqlDataType;
    }

    public int getSqlDatetimeSub() {
        return sqlDatetimeSub;
    }

    public void setSqlDatetimeSub(int sqlDatetimeSub) {
        this.sqlDatetimeSub = sqlDatetimeSub;
    }

    public int getCharOctetLength() {
        return charOctetLength;
    }

    public void setCharOctetLength(int charOctetLength) {
        this.charOctetLength = charOctetLength;
    }

    public int getOrdinalPosition() {
        return ordinalPosition;
    }

    public void setOrdinalPosition(int ordinalPosition) {
        this.ordinalPosition = ordinalPosition;
    }
}
